{template 'common/header'}
<ul class="nav nav-tabs">
    <li ><a href="{php echo url('sms/plan/list');}">监测通知列表</a></li>
    <li ><a href="{php echo url('sms/plan/add');}">增加监测通知</a></li>
    <li class="active" ><a href="{php echo url('sms/plan/audit');}">审核通知信息</a></li>
</ul>
<div class="clearfix">
    <form class="form-horizontal form" action="{php echo url('sms/plan/audit');}" method="post" id="form1">
        <input type="hidden" name="id" value="{$row['id']}" />
        <div class="form-group">
            <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">计划名称</label>
            <div class="col-sm-5">
                <input type="text" id="sendee" class="form-control" name="title" value="{$row['title']}" disabled="true"/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">接收人员</label>
            <div class="col-sm-5">
                <table class="table">
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>手机</th>
                        <th>职务</th>
                    </tr>
                    </thead>
                    <tbody>
                    {loop $selects $item}
                    <tr>
                        <td>{$item['name']} </td>
                        <td>{$item['mobile']}</td>
                        <td>{$item['worktitle']}</td>
                    </tr>
                    {/loop}
                    </tbody>
                </table>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">短信项目</label>
            <div class="col-sm-5">
                <table class="table">
                    <thead>
                    <tr>
                        <th>短信项目</th>
                        <th  style="text-align:center;">输入内容</th>
                    </tr>
                    </thead>
                    <tbody >
                    {loop $values $item}
                    <tr>
                        <td >{$item['title']} </td>
                        <td  style="text-align:center;">{$item['value']} </td>
                    </tr>
                    {/loop}
                    </tbody>
                </table>
            </div>
        </div>

        <div class="form-group">
            <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">内容</label>
            <div class="col-sm-5">
                <input type="text" id="content" class="form-control" name="content" value="{$row['content']}" disabled="true"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label"></label>
            <div class="col-sm-10">
                <button type="submit" class="btn btn-success btn-lg" name="submit" value="pass"><i class="fa fa-circle-o"></i>通过</button>&nbsp;&nbsp;
                <button type="submit" class="btn btn-danger btn-lg" name="submit" value="unpass"><i class="fa fa-ban"></i>不通过</button>&nbsp;&nbsp;
                <a  class="btn btn-primary"  href="{php echo url('sms/grant/list');}">取 消</a>
                <input type="hidden" name="token" value="{$_W['token']}" />
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
</script>
{template 'common/footer'}